﻿@model List<CoursewareDetails>
<style>
    html, body {
        position: relative;
        height: 100%;
    }

    body {
        background: #000;
        font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
        font-size: 14px;
        color:#000;
        margin: 0;
        padding: 0;
    }
    .swiper-container {
        width: 100%;
        height: 100%;
    }
    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #000;
        
    }
    .swiper-slide img {
      width: auto;
      height: auto;
      max-width: 100%;
      max-height: 100%;
      -ms-transform: translate(-50%, -50%);
      -webkit-transform: translate(-50%, -50%);
      -moz-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      position: absolute;
      left: 50%;
      top: 50%;
    }
    /*
    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #000;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
    }*/

    /*.swiper-wrapper img {
        MAX-WIDTH: 100% !important;
        HEIGHT: auto !important;
        width: expression(this.width > 600 ? "600px" : this.width) !important;
    }*/
</style>
@*<div class="swiper-container swiper-container-horizontal" data-space-between='10' data-pagination=".swiper-pagination" data-loop="true">
        <div class="swiper-wrapper">
            @foreach (var item in Model)
            {
                <div class="swiper-slide">
                    <img class='card-cover' src="@Html.GetUploadUrl(item.Url)" alt="">
                </div>
            }
        </div>
        <div class="swiper-pagination"></div>
    </div>*@
@*<div class="container">
        <div id="theTarget">
            @foreach (var item in Model)
            {
                <div style="background-image: url(@Html.GetUploadUrl(item.Url))"></div>
            }
        </div>
    </div>*@
<div class="swiper-container" style="padding-bottom: 0;">
    <div class="swiper-wrapper">
        @foreach (var item in Model)
        {
            <div class="swiper-slide">
                <img src="@Html.GetUploadUrl(item.Url)">
            </div>
        }
    </div>
    <!-- Add Pagination -->
    @*<div class="swiper-pagination"></div>*@
    <!-- Navigation -->
    @*<div class="swiper-button-next"></div>
    <div class="swiper-button-prev"></div>*@
</div>
